
package com.insigma.business.qrcode.soldier.dao;


import com.insigma.business.qrcode.soldier.entity.CommonAuthInfoDO;
import com.insigma.business.qrcode.soldier.request.CommonAuthInfoBSearcher;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CommonAuthInfoDao {

    
    List<CommonAuthInfoDO> search(final CommonAuthInfoBSearcher innerSearcher);

    
    CommonAuthInfoDO get(final String id);

    
    Integer insert(final CommonAuthInfoDO commonAuthInfoDO);

    
    Integer update(final CommonAuthInfoDO commonAuthInfoDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    CommonAuthInfoDO getByAuth(String auth);
}
